<template>
  <div id="app">
  
    <router-view/>
    <van-tabbar v-model="active">
      <van-tabbar-item icon="home-o" to="/">首页</van-tabbar-item>
      <van-tabbar-item icon="apps-o" to="/curriculum">课程</van-tabbar-item>
      <van-tabbar-item icon="search" to="/record">约课记录</van-tabbar-item>
      <van-tabbar-item icon="friends-o" to="/practice">练习</van-tabbar-item>
      <van-tabbar-item icon="user-circle-o" to="/my">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>
<script>
export default {
  data() {
    return {
      active:0
    }
  },
}
</script>
<style lang="scss">
#app{
  background: #eee;
  
}
*{
  margin: 0;
  padding: 0;
}
</style>
